import instance from '../../axios.service';
import {FlyerItem, PersonStatus, ResDto} from "../../types/common";
import {basePath} from '../config'
export default {
    getList: (status?: PersonStatus): Promise<ResDto> => instance.get(`${basePath}/apply-admin/flyer/list`),// 用户列表
    edit: (data: FlyerItem): Promise<ResDto> => instance.post(`${basePath}/apply-admin/flyer/edit`, data),// 编辑用户
    add: (data: FlyerItem): Promise<ResDto> => instance.post(`${basePath}/apply-admin/flyer/add`, data),// 添加用户

}
